home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 272_01 / cant.doc < prev    next >
Text File  |  1987-07-08  |  552b  |  39 lines

  1.  
  2.  
  3.         NAME
  4.                 cant -- report inability to open a file and exit
  5.  
  6.         SYNOPSIS
  7.                 void cant(name);
  8.                 char *name;
  9.  
  10.  
  11.         DESCRIPTION
  12.         This function is used to report a failure to open a file of
  13.         "name", and then abort the program through the aabort() function
  14.         of this library.
  15.  
  16.  
  17.  
  18.  
  19.         EXAMPLE
  20.              cant("foo.bar");
  21.              cant(argv[1]);
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.         This function is found in SMDLx.LIB for the Datalight Compiler.
  39.